package com.zy.db.dal.dto;

import com.zy.db.enums.QueryTypeEnums;
import com.zy.db.pointcut.Q;
import lombok.Data;

import java.util.Date;

@Data
public class BaseQuery {

    @Q(value = QueryTypeEnums.ge, key = "createAt")
    private Date createAtStart;
    @Q(value = QueryTypeEnums.lt, key = "createAt")
    private Date createAtEnd;
    @Q(value = QueryTypeEnums.ge, key = "updateAt")
    private Date updateAtStart;
    @Q(value = QueryTypeEnums.lt, key = "updateAt")
    private Date updateAtEnd;
    @Q(value = QueryTypeEnums.eq, defaultValue = "0")
    private Integer isDel;
}
